/*----------------------------------------------------------------------
  File name : "uart.h"
  
  Header file for Asyncrounous, Polled UART-driver.
  Target = ATMega16 USART.
  
  Author : Henning Hargaard
  Date : 5.10.2005
-----------------------------------------------------------------------*/
#ifndef UARTdefine
#define UARTdefine
#pragma used+

void InitUART( unsigned long BaudRate, unsigned long XTALFrekvens,
                        unsigned char DataBit, unsigned char Paritet );
unsigned char CharReady();
unsigned char RecError();
char ReadChar();
void SendChar(char Tegn);
void SendStringFlash(flash char* Streng);
void SendStringSRAM(char* Streng);

#pragma used-
#endif 
//----------------------------------------------------------------------